package com.learn.designPatterns.behavioral.mediator;

/**
 * @classname:
 * @Description:
 * @author: yfpu
 * @Date: 2018-09-18 17:20
 */
public class Alarm extends Colleague{

    @Override
    public void doEvent(Mediator mediator) {
        mediator.doEvent("alarm");
    }

    public void doAlarm() {
        System.out.println("doAlarm()");
    }
}
